export default class RequestFailedError extends Error {
  code: number;
  message: string;

  constructor(code: number, message = '') {
    super();
    this.code = code;
    this.message = message;
  }
}
